package com.gxa.service;

import com.gxa.common.PaginationResult;
import com.gxa.pojo.Codrule; /**
 * Created with IntelliJ IDEA.
 * User: zxy
 * Date: 2020/10/31 10:46
 * Description:
 * Version: V1.0
 */
public interface EncodSetService {
    /**
     * 添加编码规则
     * @param codrule
     * @return
     */
    int addEncodSet(Codrule codrule);

    /**
     * 查询编码规则
     * @param currentPage
     * @param pageSize
     * @return
     */
    PaginationResult queryEncodSet(int currentPage, int pageSize);

    /**
     * 修改编码规则
     * @param codrule
     * @return
     */
    int updateEncodSet(Codrule codrule);

    /**
     * 删除编码规则
     * @param codruleId
     * @return
     */
    int delEncodSet(int codruleId);
}
